package com.global.college.ui.interfaces;


import com.global.college.ui.bean.MyOrderDetail;
import com.global.college.ui.bean.MyOrderListModel;

/**
 * 订单相关
 */
public interface IOrderView {

    /**
     * 获取订单列表
     * @param
     */
    void onGetOrderListSuccess(MyOrderListModel object);
    void onGetOrderListFail(String error);

    /**
     *获取订单详情
     * @param
     */
    void onGetOrderDetailSuccess(MyOrderDetail smsModel);
    void onGetOrderDetailFail(String error);
    /**
     *创建订单
     * @param
     */
    void onCreateOrderSuccess(Object smsModel);
    void onCreateOrderFail(String error);
    /**
     *取消订单
     * @param
     */
    void onCancleOrderSuccess(Object smsModel);
    void onCancleOrderFail(String error);

}
